import request from '@/utils/request'

export function query(data) {
  return request({
    // url: `http://localhost:20000/sfcNcLogReport/scrapList`
    url: `report/sfcNcLogReport/scrapList`,
    method: 'post',
    data
  })
}

// 请求后台退料接口
export function createMaterialFrom(data) {
  return request({
    // url: `http://localhost:20000/sfcNcLogReport/throwERP`,
    url: `report/sfcNcLogReport/throwERP`,
    method: 'post',
    data
  })
}
